/*
 * Copyright (c) 2012,东方口岸科技有限公司
 * All rights reserved.
 * 文件名称：MessageImpl.java
 * 摘    要：
 * 版本：1.0
 * 作    者：fengzhiyong
 */
package com.cneport.transfer.message;

public class MessageImpl implements Message<String> {
    private String senderId;
    private String receiverId;
    private String messageData;
    
    
    


    public String getMessageData() {
       
        return messageData;
    }

  
    public String getReceiverId() {
       
        //String a="C1001@NF1101";
        return receiverId;
    }

 
    public String getSenderId() {
      
        //String a="C0001@NF0101";
        return senderId;
    }
   
	/**
	 * (non-Javadoc)
	 * @see com.cneport.transfer.message.Message#setMessageData(java.lang.Object)
	 */
	public void setMessageData(String messageData) {
		this.messageData = messageData;
		
	}


	
	/**
	 * (non-Javadoc)
	 * @see com.cneport.transfer.message.Message#setReceiverId(java.lang.String)
	 */
	public void setReceiverId(String receiverId) {
		this.receiverId = receiverId;
		
	}


	
	/**
	 * (non-Javadoc)
	 * @see com.cneport.transfer.message.Message#setSenderId(java.lang.String)
	 */
	public void setSenderId(String senderId) {
		this.senderId = senderId;
		
	}
}
